obj-m := camera.o
camera-objs := main.o ../common.o listener.o cow.o btree.o fs.o
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
EXTRA_CFLAGS += -DCAMERA_KERNEL
PWD := $(shell pwd)
default:	
	rm -f ../common.o
	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
clean:
	rm -f *.ko *.o *.mod.c *.symvers *.unsigned *.order .*.cmd *~
	rm -rf .tmp_versions
